/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.foxinline.enums;

/**
 *
 * @author ely
 */
public enum TipoSUS {
    
    SUS(1, "SUS"),
    NAO_SUS(2, "Não SUS");
   

    private String name;
    private Integer valor;

    private TipoSUS(Integer valor, String name) {
        this.name = name;
        this.valor = valor;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValor() {
        return valor;
    }

    public void setValor(Integer valor) {
        this.valor = valor;
    }

    @Override
    public String toString() {
        return name;
    }
    
}
